<?php
  if(isset($categories)) {
     // echo ($cities);
    echo $javascript->object($categories);
  }
?>